using System;

namespace AgileDashboard.AppCode
{
    using System.Runtime.Serialization;

    /// <summary>
    /// An attribute used to decorate Version One entity DTO properties in order to assist in their deserialization
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class VersionOneAttributeNameAttribute : Attribute
    {
        public string AttributeName { get; set; }

        public VersionOneAttributeNameAttribute(string value)
        {
            AttributeName = value;
        }
    }
}